{ char *bp; size_t size; FILE *stream;
stream = open_memstream (&bp, &size); fprintf (stream, "hello"); fflush (stream); printf ("buf = ā%sā, size = %d\n", bp, size); fprintf (stream, ", world"); fclose (stream); printf ("buf = ā%sā, size = %d\n", bp, size);
return 0; }
This document was generated on November 5, 2024 using texi2html 5.0.